package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 巡检项目表
 * @TableName device_inspectionproject
 */
@TableName(value ="device_inspectionproject")
@Data
public class DeviceInspectionproject implements Serializable {
    /**
     * 巡检项目编号
     */
    @TableId(type = IdType.AUTO)
    private Integer inspectionprojectId;

    /**
     * 巡检项目名称
     */
    private String inspectionprojectName;

    /**
     * 巡检项目编码
     */
    private String code;

    /**
     * 巡检项目分类(0-电气设备巡检 1- 机械设备巡检 2-管道设备巡检 3-外观巡检 4-运行参数巡检 5-润滑巡检 6-振动和噪音巡检 7-仪表和指示器巡检 8-电源和电池巡检 9-环境巡检 10-操作和控制巡检 11-泄露巡检 12-温度巡检 13-压力巡检 14-相位巡检 15-紧固件巡检 16-接地巡检 17-信号和通信巡检 18-应急设备巡检)
     */
    private String inspectionprojectTypeId;

    /**
     * 巡检项目状态(0-启用 1-禁用)
     */
    private Integer inspectionprojectState;

    /**
     * 巡检项目内容
     */
    private String inspectionprojectContent;

    /**
     * 巡检项目判定结果类型( device_inspectiontask_result表 1-数值 2-长文本格式 3-单选 4-多选)
     */
    private Integer inspectionprojectResult;

    /**
     * 巡检项目判定结果值
     */
    private String inspectionprojectIsresult;

    /**
     * 备注
     */
    private String notse;

    /**
     * 创建人
     */
    private String insertPerson;

    /**
     * 创建时间
     */
    private Date insertTime;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer isDelete;


    @TableField(exist = false)
    private DeviceInspectiontaskResult deviceInspectiontaskResult;

    @TableField(exist = false)
    private SelectType selectType;

    @Override
    public String toString() {
        return "DeviceInspectionproject{" +
                "inspectionprojectId=" + inspectionprojectId +
                ", inspectionprojectName='" + inspectionprojectName + '\'' +
                ", code='" + code + '\'' +
                ", inspectionprojectTypeId='" + inspectionprojectTypeId + '\'' +
                ", inspectionprojectState=" + inspectionprojectState +
                ", inspectionprojectContent='" + inspectionprojectContent + '\'' +
                ", inspectionprojectResult=" + inspectionprojectResult +
                ", inspectionprojectIsresult='" + inspectionprojectIsresult + '\'' +
                ", notse='" + notse + '\'' +
                ", insertPerson='" + insertPerson + '\'' +
                ", insertTime=" + insertTime +
                ", updatePerson='" + updatePerson + '\'' +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                ", deviceInspectiontaskResult=" + deviceInspectiontaskResult +
                '}';
    }


}